home *** CD-ROM | disk | FTP | other *** search
/ Freelog 55 / Freelog055.iso / Bas / Musique / EasyAlbum / easyam_setup.exe / {app} / export_xml.tpt < prev    next >
Text File  |  2003-11-16  |  693b  |  18 lines

  1. @# XML file(*.xml)|*.xml
  2. @set(i,0)\
  3. @set(over, @size(albums))\
  4. <?xml version=\"1.0\" standalone=\"yes\" ?>
  5. <DATABASE source=\"Easy Album Manager\">
  6.     @<@foreach album (albums) {\
  7.     @<@progress(i,over)\
  8.     <ALBUM artist=\"@xmlescape(album.artist)\" album=\"@xmlescape(album.album)\" genre=\"@xmlescape(album.genre)\" year=\"@xmlescape(album.year)\" playlistpath=\"@xmlescape(album.playlistpath)\" coverpath=\"@xmlescape(album.coverpath)\">
  9.         @<@set(j,1)\
  10.         @<@foreach track(album.tracks) {\
  11.         <TRACK number="${j}" title=\"@xmlescape(track.title)\" trackpath=\"@xmlescape(track.trackpath)\"/>
  12.         @<@set(j,j+1)\
  13.         @<}\
  14.     @<@set(i,i+1)\
  15.     </ALBUM>
  16.     @<}\
  17. </DATABASE>
  18. @progress(over,over)\